		<div id="center_column">
			<h2 class="title"><?php echo (isset($title_for_layout) && !empty($title_for_layout)) ? $title_for_layout : Configure::read('cfg.homepage_title'); ?></h2>
			<?php if (is_array($articles_homepage)) { 
				foreach ($articles_homepage as $key => $article) { 
				?>
			<article>
				<header>
					<h1><?php echo $this->Html->link($article['Article']['name'],$this->Html->url(array('plugin'=>false,'controller'=>'a','action'=>$article['Article']['slug']),true),array('title'=>h($article['Article']['name']),'escape'=>false)); ?></h1>
				</header>
				<?php 
					if(!empty($article['Upload']['name'])){
						$img = $this->FileUpload->image($article['Upload']['name'],array('width'=>200,'imagePathOnly'=>true));
						echo $this->Html->link('',$this->Html->url(array('plugin'=>false,'controller'=>'a','action'=>$article['Article']['slug']),true),
								array('title'=>h($article['Article']['name']),'escape'=>false,'class'=>'highslide','style'=>"display: block; background: url('{$img}') no-repeat center center; width: 150px; height: 110px; float: left; border-radius: 10px; margin: 0 18px 18px 18px;"));
					}
				?>
				<p><?php echo $article['Article']['list_content']; ?></p>
				<footer>
					<p>Data dodania: <?php echo $article['Article']['modified']; ?></p>
					<?php echo $this->Html->link(__d('frontend','Zobacz więcej',true),array('plugin'=>false,'controller'=>'a','action'=>$article['Article']['slug']),array('class'=>'more','title'=>h($article['Article']['name']),'escape'=>false)); ?>
				</footer>
			</article>
			<?php }} ?>
		</div>